<div class="row">
    <div class="col-md-12 col-md-auto">
        <div class="ibox float-e-margins">
            <h3 class="ibox-title"></h3>
            <div class="ibox-content">
                &lt;form class="form-horizontal"&gt;
                    <input type="hidden">
                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-remark"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            <input class="form-control" type="text">
                        </div>
                    </div>
                {{if eq true .isAdmin}}
                {{if eq true .allow_flow_limit}}
                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-flowlimit"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            <input class="form-control" type="text">
                            <span class="help-block m-b-none"></span>: M
                        </div>
                    </div>
                {{end}}
                {{if eq true .allow_rate_limit}}

                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-ratelimit"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            <input class="form-control" type="text">
                            <span class="help-block m-b-none"></span>: KB/S
                        </div>
                    </div>
                {{end}}
                {{if eq true .allow_connection_num_limit}}

                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-maxconnections"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            <input class="form-control" type="text">
                        </div>
                    </div>
                {{end}}
                {{if eq true .allow_tunnel_num_limit}}
                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-maxtunnels"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            <input class="form-control" type="text">
                        </div>
                    </div>
                {{end}}
                {{end}}
                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-basicusername"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            <input class="form-control" type="text">
                            <span class="help-block m-b-none"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-basicpassword"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            <input class="form-control" type="text">
                            <span class="help-block m-b-none"></span>
                        </div>
                    </div>
                {{if eq true .isAdmin}}
                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-verifyKey"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            <input class="form-control" type="text">
                            <span class="help-block m-b-none"></span>
                        </div>
                    </div>
                {{end}}
                {{if eq true .allow_user_login}}
                {{if or (eq true .allow_user_change_username) (eq true .isAdmin)}}
                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-webusername"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            <input class="form-control" type="text">
                        </div>
                    </div>
                {{end}}
                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-webpassword"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            <input class="form-control" type="text">
                        </div>
                    </div>
                {{end}}
                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-connectbyconfig"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            &lt;select class="form-control" name="config_conn_allow"&gt;
                                &lt;option {{if eq true .c.ConfigConnAllow}}selected{{end}}  value="1" langtag="word-yes"&gt;&lt;/option&gt;
                                &lt;option {{if eq false .c.ConfigConnAllow}}selected{{end}} value="0" langtag="word-no"&gt;&lt;/option&gt;
                            &lt;/select&gt;
                        </div>
                    </div>
                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-compress"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            &lt;select class="form-control" name="compress"&gt;
                                &lt;option {{if eq false .c.Cnf.Compress}}selected{{end}} value="0" langtag="word-no"&gt;&lt;/option&gt;
                                &lt;option {{if eq true .c.Cnf.Compress}}selected{{end}}  value="1" langtag="word-yes"&gt;&lt;/option&gt;
                            &lt;/select&gt;
                        </div>
                    </div>
                    <div class="form-group">
                        &lt;label class="control-label font-bold" langtag="word-crypt"&gt;&lt;/label&gt;
                        <div class="col-sm-10">
                            &lt;select class="form-control" name="crypt"&gt;
                                &lt;option {{if eq false .c.Cnf.Crypt}}selected{{end}} value="0" langtag="word-no"&gt;&lt;/option&gt;
                                &lt;option {{if eq true .c.Cnf.Crypt}}selected{{end}} value="1" langtag="word-yes"&gt;&lt;/option&gt;
                            &lt;/select&gt;
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-2">
                            &lt;button class="btn btn-success" type="button" onclick="submitform('add', '{{.web_base_url}}/client/edit', $('form').serializeArray())"&gt; <i class="fa fa-fw fa-lg fa-save"></i><span></span>
                            &lt;/button&gt;
                        </div>
                    </div>
                &lt;/form&gt;
            </div>
        </div>
    </div>
</div>
